package com.formelo.erupt.model;

import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_erupt.Power;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.sub_edit.Search;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;


@Entity
@Table(
        name = "tb_pc_test_info"
)
@Erupt(
        name = "pc测试结果下载",
        orderBy = "Id",
        power = @Power(
                query = true,
                importable = false, export = true
        )
)
public class PCTestTable {
    public PCTestTable() {
    }

    //主键
    @Id
    @EruptField(
            views = @View(title = "ID",
                    sortable = true)
    )
    private Long Id;


    @EruptField(
            views = {@View(
                    title = "IMEI"
            )}
    )
    private String IMEI;

    @EruptField(
            views = {@View(
                    title = "IMEI_Success"
            )}
    )
    private String IMEI_Success;


    @EruptField(
            views = {@View(
                    title = "MAC"
            )}
    )
    private String MAC;
    @EruptField(
            views = {@View(
                    title = "MAC_Success"
            )}
    )
    private String MAC_Success;
    @EruptField(
            views = {@View(
                    title = "ICCID"
            )}
    )
    private String ICCID;
    @EruptField(
            views = {@View(
                    title = "ICCID_Success"
            )}
    )
    private String ICCID_Success;
    @EruptField(
            views = {@View(
                    title = "Channel"
            )}
    )
    private String Channel;
    @EruptField(
            views = {@View(
                    title = "Channel_Success"
            )}
    )
    private String Channel_Success;
    @EruptField(
            views = {@View(
                    title = "Intensity"
            )}
    )
    private String Intensity;
    @EruptField(
            views = {@View(
                    title = "Intensity_Success"
            )}
    )
    private String Intensity_Success;
    @EruptField(
            views = {@View(
                    title = "Network"
            )}
    )
    private String Network;
    @EruptField(
            views = {@View(
                    title = "Network_Success"
            )}
    )
    private String Network_Success;
    @EruptField(
            views = {@View(
                    title = "WIFI_SSID"
            )}
    )
    private String WifiSsid = "";
    @EruptField(
            views = {@View(
                    title = "WIFI_SSID_Success"
            )}
    )
    private String WifiSsidSuccess;
    @EruptField(
            views = {@View(
                    title = "WIFI_Intensity"
            )}
    )
    private String WifiIntensity;
    @EruptField(
            views = {@View(
                    title = "WIFI_Intensity_Success"
            )}
    )
    private String WifiIntensitySuccess;
    @EruptField(
            views = {@View(
                    title = "WIFI_Network"
            )}
    )
    private String WifiNetwork;
    @EruptField(
            views = {@View(
                    title = "WIFI_Network_Success"
            )}
    )
    private String WifiNetworkSuccess;
    @EruptField(
            views = {@View(
                    title = "Battery_Status"
            )}
    )
    private String BatteryStatus;
    @EruptField(
            views = {@View(
                    title = "Battery_Status_Success"
            )}
    )
    private String BatteryStatusSuccess;
    @EruptField(
            views = {@View(
                    title = "Battery_Voltage"
            )}
    )
    private String BatteryVoltage;
    @EruptField(
            views = {@View(
                    title = "Battery_Voltage_Success"
            )}
    )
    private String BatteryVoltageSuccess;
    @EruptField(
            views = {@View(
                    title = "Battery_Temperature"
            )}
    )
    private String BatteryTemperature;
    @EruptField(
            views = {@View(
                    title = "Battery_Temperature_Success"
            )}
    )
    private String BatteryTemperatureSuccess;

    @EruptField(
            views = {@View(
                    title = "User"
            )},
            edit = @Edit(
                    title = "姓名",
                    notNull = true,
                    search = @Search(
                            vague = true
                    )
            )
    )
    private String User;

    @EruptField(
            views = {@View(
                    title = "create_date"
            )}
    )
    private String createDate;

}